<script>
function checkOption(option) {
  // 公众号模板消息场景跳转
  if (option.scene === 1043) {
	console.log('公众号模板消息场景');
    uni.switchTab({ url: option.path });
  }
}
export default {
  onLaunch: function (option) {
    console.log("App Launch");
    checkOption(option);
  },
  onShow: function (option) {
    console.log("App Show");
    checkOption(option);
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style>
/*每个页面公共css */
</style>
